package com.dj.mingkong.common.infrastructure.eo.database.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dj.mingkong.common.infrastructure.base.eo.BaseEo;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 用户角色实体类
 *
 * @author zenglonghui
 * @date: 2022/5/18 11:37
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "sys_user_role")
public class UserRoleEo extends BaseEo {
    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 过期时间
     */
    private LocalDateTime expiredDate;
}
